<script>
import { replaceAll } from '@/utils'

export default {
  mounted() {
    const { fullPath } = this.$route
    this.$router.replace(`${replaceAll(fullPath, '/redirect', '')}`)
  },

  render: (h) => h()
}
</script>
